/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.question4.adp.model.backupData;

/**
 *
 * @author griddy
 */
public class BackupData {

    public BackupData() {

    }
    
    private String data = "";
    
    public boolean backupData(KeyboardDataSource dataSource,DataDestinationUART dataDestination)
    {
        data = dataSource.retrieveData();
        return dataDestination.transmitData(data);
        
    }
    
    
}
